﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SD.App.Desktop
{
    public interface IMessageService
    {
        // 普通消息提示（自动关闭）
        void ShowMessage(string message, int duration = 2000);
        // 成功提示
        void ShowSuccess(string message, int duration = 2000);
        // 错误提示
        void ShowError(string message, int duration = 2000);
    }
}
